<%@ taglib prefix="s" uri="/struts-tags" %>
<%@ page language="java" import="java.util.*" pageEncoding="UTF-8" %>
<%
    String path = request.getContextPath();
    String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/";
%>
<% String adminName = request.getParameter("adminName");%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
    <base href="<%=basePath%>">

    <title>信息</title>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta http-equiv="keywords" content="keyword1,keyword2,keyword3">
    <meta http-equiv="description" content="This is my page">
    <!--
     <link rel="stylesheet" type="text/css" href="styles.css">
     -->
</head>

<body>
<div id="content">
    <%--<h1>上传成功</h1>
    文件名：<s:property value="uploadFileName"/><br/>
    文件大小：<s:property value="size"/>Mb<br/>
    文件类型：<s:property value="uploadContentType"/><br/>
    上传者 : <s:property value="author"/><br/>
    文件描述：<s:property value="description"/><br/>
    上传时间：<s:property value="date"/><br/>--%>

    <script language="JavaScript">
        var uploadFileName = '${uploadFileName}';
        var size = '${size}';
        var uploadContentType = '${uploadContentType}';
        var author = '${author}';
        var description = '${description}';
        var date = '${date}';

        alert("上传成功\n文件名：" + uploadFileName + "\n文件大小：" + size + "MB\n文件类型：" + uploadContentType + "\n上传者：" + author + "\n文件描述：" + description + "\n上传时间：" + date);
        window.location.href = "/page/file/uploadFile.jsp";
    </script>
</div>
</body>

</html>
